<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 杨波
  Date: 2022/1/7
  Time: 21:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>员工列表页面</title>

    <!-- Bootstrap -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>

    <head>
    <title>人员修改页面</title>
</head>
<body>
    <center>
        <h1>人员信息</h1>
            <form action="/passport/update" class="form-horizontal">
                <input type="hidden" value="${pass.id}" name="id"/>
                <div class="form-group">
                    <label for="inputNationality" class="col-sm-4 control-label">国籍:</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control" id="inputNationality" placeholder="请输入国籍" value="${pass.nationality}" name="nationality">
                    </div>
                    <div class="col-sm-4"></div>
                </div>
                <div class="form-group">
                    <label for="inputExpire" class="col-sm-4 control-label">注册时间:</label>
                    <div class="col-sm-2">
                        <input type="text" readonly class="form-control"  placeholder="注册时间" value="<fmt:formatDate value="${pass.expire}" pattern="yyyy-MM-dd"/>">
                    </div>

                    <div class="col-sm-2 ">
                        <input type="date" class="form-control" id="inputExpire"  name="expire"/>
                    </div>
                    </div>
                    <div class="col-sm-4"></div>
                    </div>
                </div>
                <div class="checkbox">
                            <label>
                                <input type="checkbox"> 您已核对信息！对此无误
                            </label>
                        </div>
                    </div>
                </div>
                <hr>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-default">提交</button>
                    </div>
                </div>
            </form>
    </center>
</body>
</html>
